Infinitary Lambda Calculi and Böhm Models
نویسندگان
چکیده
Infinitely long rewrite sequences of possibly infinite terms are of interest for several reasons. Firstly, infinitary rewriting is a natural generalisation of finitary rewriting which extends it with the notion of computing towards a possibily infinite limit. Such limits naturally arise in the semantics of lazy functional languages, in which it is possible to write and compute with expressions which intuitively denote infinite data structures, such as a list of all the integers. If the limit of a reduction sequence still contains redexes, then it is natural to consider sequences whose length is longer than w in fact, sequences of any ordinal length. The question of the computational meaning of such sequences will be dealt with below. Secondly, computations with terms implemented as graphs allow the possibility of using cyclic graphs, which correspond in a natural way to infinite terms. Finite computations on cyclic graphs correspond to infinite computations on terms. Finally, the infinitary theory suggests new ways of dealing with some of the concepts that arise in the finitary theory, such as notions of undefinedness of terms. In this connection, Berarducci and Intrigila ([Bet, BI94]) have independently developed an infinitary lambda calculus and applied it to the study of consistency problems in the finitary lambda calculus. In [KKSdV-] we developed the basic theory of transfinite reduction for orthogonal term rewrite systems. In this paper we perform the same task for the
منابع مشابه
Separability of Infinite Lambda Terms
Infinite lambda calculi extend finite lambda calculus with infinite terms and transfinite reduction. In this paper we extend some classical results of finite lambda calculus to infinite terms. The first result we extend to infinite terms is Böhm Theorem which states the separability of two finite βη-normal forms. The second result we extend to infinite terms is the equivalence of the prefix rel...
متن کاملThe infinitary lambda calculus of the infinite eta Böhm trees
In this paper, we introduce a strong form of eta reduction called etabang that we use to construct a confluent and normalising infinitary lambda calculus, of which the normal forms correspond to Barendregt’s infinite eta Böhm trees. This new infinitary perspective on the set of infinite eta Böhm trees allows us to prove that the set of infinite eta Böhm trees is a model of the lambda calculus. ...
متن کاملStrict Ideal Completions of the Lambda Calculus
We present a family of infinitary lambda calculi with varying strictness. This family of calculi corresponds to the infinitary lambda calculi of Kennaway et al. but instead of metric completion our calculi are based on ideal completion. We show that each of our calculi conservatively extends the corresponding metric-based calculus. The extension that our calculi provide is characterised in the ...
متن کاملBöhm Reduction in Infinitary Term Graph Rewriting Systems
The confluence properties of lambda calculus and orthogonal term rewriting do not generalise to the corresponding infinitary calculi. In order to recover the confluence property in a meaningful way, Kennaway et al. [11, 10] introduced Böhm reduction, which extends the ordinary reduction relation so that ‘meaningless terms’ can be contracted to a fresh constant ⊥. In previous work, we have estab...
متن کاملOrder Structures on Böhm-Like Models
We are interested in the question whether the models induced by the infinitary lambda calculus are orderable, that is whether they have a partial order with a least element making the context operators monotone. The first natural candidate is the prefix relation: a prefix of a term is obtained by replacing some subterms by ⊥. We prove that six models induced by the infinitary lambda calculus (w...
متن کاملContinuity and Discontinuity in Lambda Calculus
This paper studies continuity of the normal form and the context operators as functions in the infinitary lambda calculus. We consider the Scott topology on the cpo of the finite and infinite terms with the prefix relation. We prove that the only continuous parametric trees are Böhm and Lévy–Longo trees. We also prove a general statement: if the normal form function is continuous then so is the...
متن کامل